#include <stdio.h>
#include <string.h>
#include <unistd.h>


int main()
{
    const char* fstr="hello fwrite\n";
    const char* str="hello write\n";
    //向显示器打印
    printf("hello printf\n");
    fprintf(stdout,"hello fprintf\n");
    fwrite(fstr,strlen(fstr),1,stdout);

    write(1,str,strlen(str));

    // close(1);
    //创建子进程
    int id = fork();
    return 0;
}
